#!/usr/bin/env python
import roslib; roslib.load_manifest("ratsim")
import rospy
from std_msgs.msg import Float32
import os
import time
import threading
		
if __name__ == '__main__':
	
	angle = 0
	rospy.init_node("sun_controller", anonymous=True)
	pub = rospy.Publisher("/sun", Float32)
	while not rospy.is_shutdown():
		angle += 1
		pub.publish(Float32(angle))
		rospy.sleep(.05)

